package com.zds.scm.web.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.zds.scm.common.CommonServlet;

public class LinkServlet extends CommonServlet {

	private static final long serialVersionUID = 6973042379239313329L;
    /**
     * 跳转到密码修改框
     * @param request
     * @param response
     * @throws ServletException
     * @throws IOException
     */
	public void changePwd(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/changepwd.jsp").forward(request, response);
	}
	public void deptInfo(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/deptinfo.jsp").forward(request, response);
	}
	public void deptInfoEdit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/deptinfoedit.jsp").forward(request, response);
	}
	public void classInfo(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/classinfo.jsp").forward(request, response);
	}
	public void classInfoEdit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/classinfoedit.jsp").forward(request, response);
	}
	public void courseInfo(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/courseinfo.jsp").forward(request, response);
	}
	public void courseInfoEdit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/courseinfoedit.jsp").forward(request, response);
	}
	public void teacherInfo(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/teacherinfo.jsp").forward(request, response);
	}
	public void teacherInfoEdit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/teacherinfoedit.jsp").forward(request, response);
	}
	public void studentInfo(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/studentinfo.jsp").forward(request, response);
	}
	public void studentInfoEdit(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getRequestDispatcher("/pages/common/studentinfoedit.jsp").forward(request, response);
	}
}
